package com.wangdong.network.http;

/**
 * 作者：wangdong on 2018/3/26 20:51
 * 邮箱：2100520956@qq.com
 */

public enum  CMRequestType {
    //获取验证码
    util_getphonecode("util/getphonecode","util/getphonecode",null),
    //普通用户登录
    user_login("user/login","user/login",null);


    private String url;//request URL
    private String tag;
    private Class<?> cls;//entity class for parse

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public Class<?> getCls() {
        return cls;
    }

    public void setCls(Class<?> cls) {
        this.cls = cls;
    }

     CMRequestType(String url, String tag, Class<?> cls) {
        this.url = url;
        this.cls = cls;
        this.tag = tag;
    }
}
